<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script src="<?php echo base_url() ?>js/bootstrap-master/docs/assets/js/jquery.js"></script>
        <title></title>
    </head>
    <body>
        <a href="#" onclick="ajax_c()" >chango</a>

    </body>
    <script>
        function ajax_c()
        {
            $.ajax({
                url:"http://localhost/siscat/pruebas/ajax_prueba",
                dataType: "json",
                success: function(msg) {            
                  alert(msg.chango2);
                
                }
            })  
        }
    
    
    
    </script>
</html>
